export default {
  data() {
    return {
      data: {},
      pageTotal: 22,
      pageNum: 1,
      pageSize: 10,
      pageSizes: [5, 10, 20],
      pageLayout: "total, sizes, prev, pager, next",
    };
  },
  methods: {
    setPageNum(pageNum = 1) {
      this.pageNum = pageNum;
      this.loadData();
    },
    setPageSize(pageSize = 10) {
      this.pageSize = pageSize;
      this.loadData();
    },
    mtLoad() {
      this.pageNum = 1;
      this.loadData();
    },
  },
};
